.class public Lcom/instagram/android/fragment/el;
.super Lcom/instagram/e/b/b;
.source "MapFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# instance fields
.field private a:Landroid/view/Window;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 19
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 4
    .parameter
    .parameter
    .parameter

    .prologue
    .line 85
    new-instance v2, Landroid/widget/FrameLayout;

    invoke-virtual {p2}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {v2, v0}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    .line 87
    iget-object v0, p0, Lcom/instagram/android/fragment/el;->a:Landroid/view/Window;

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    .line 88
    const/4 v0, 0x0

    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    .line 89
    const/4 v0, 0x1

    invoke-virtual {v1, v0}, Landroid/view/View;->setFocusableInTouchMode(Z)V

    move-object v0, v1

    .line 90
    check-cast v0, Landroid/view/ViewGroup;

    const/high16 v3, 0x4

    invoke-virtual {v0, v3}, Landroid/view/ViewGroup;->setDescendantFocusability(I)V

    .line 91
    invoke-virtual {v2, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 93
    return-object v2
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 122
    new-instance v0, Lcom/instagram/android/fragment/em;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/em;-><init>(Lcom/instagram/android/fragment/el;)V

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    .line 27
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->a(Landroid/os/Bundle;)V

    .line 29
    new-instance v1, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    const-class v2, Lcom/instagram/android/maps/PhotoMapsActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 30
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v2, "ARGUMENT_USER_ID"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 31
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/t;

    invoke-virtual {v0}, Lcom/instagram/android/activity/t;->m()Landroid/app/LocalActivityManager;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/app/LocalActivityManager;->dispatchCreate(Landroid/os/Bundle;)V

    .line 32
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/t;

    invoke-virtual {v0}, Lcom/instagram/android/activity/t;->m()Landroid/app/LocalActivityManager;

    move-result-object v0

    const-string v2, "tag"

    invoke-virtual {v0, v2, v1}, Landroid/app/LocalActivityManager;->startActivity(Ljava/lang/String;Landroid/content/Intent;)Landroid/view/Window;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/el;->a:Landroid/view/Window;

    .line 33
    return-void
.end method

.method public a(Landroid/view/View;Landroid/os/Bundle;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 112
    invoke-super {p0, p1, p2}, Lcom/instagram/e/b/b;->a(Landroid/view/View;Landroid/os/Bundle;)V

    .line 113
    return-void
.end method

.method public d(Landroid/os/Bundle;)V
    .locals 0
    .parameter

    .prologue
    .line 117
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->d(Landroid/os/Bundle;)V

    .line 118
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 2

    .prologue
    .line 155
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "ARGUMENT_USER_ID"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 156
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/service/a;->c()Ljava/lang/String;

    move-result-object v1

    .line 157
    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "self_photomap"

    :goto_0
    return-object v0

    :cond_0
    const-string v0, "photomap"

    goto :goto_0
.end method

.method public e_()V
    .locals 2

    .prologue
    .line 53
    invoke-super {p0}, Lcom/instagram/e/b/b;->e_()V

    .line 55
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->action_bar:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 56
    return-void
.end method

.method public f_()V
    .locals 2

    .prologue
    .line 60
    invoke-super {p0}, Lcom/instagram/e/b/b;->f_()V

    .line 62
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->action_bar:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 63
    return-void
.end method

.method public g_()V
    .locals 1

    .prologue
    .line 98
    iget-object v0, p0, Lcom/instagram/android/fragment/el;->a:Landroid/view/Window;

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->removeAllViews()V

    .line 100
    invoke-super {p0}, Lcom/instagram/e/b/b;->g_()V

    .line 101
    return-void
.end method

.method public w()V
    .locals 2

    .prologue
    .line 37
    invoke-super {p0}, Lcom/instagram/e/b/b;->w()V

    .line 39
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/t;

    invoke-virtual {v0}, Lcom/instagram/android/activity/t;->m()Landroid/app/LocalActivityManager;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/LocalActivityManager;->dispatchResume()V

    .line 43
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    instance-of v0, v0, Lcom/instagram/android/activity/MainTabActivity;

    if-eqz v0, :cond_0

    .line 45
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 46
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/MainTabActivity;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/instagram/android/activity/MainTabActivity;->b(I)V

    .line 49
    :cond_0
    return-void
.end method

.method public x()V
    .locals 2

    .prologue
    .line 70
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    instance-of v0, v0, Lcom/instagram/android/activity/MainTabActivity;

    if-eqz v0, :cond_0

    .line 72
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x30

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 74
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/MainTabActivity;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/android/activity/MainTabActivity;->b(I)V

    .line 77
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/t;

    invoke-virtual {v0}, Lcom/instagram/android/activity/t;->m()Landroid/app/LocalActivityManager;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/j;->isFinishing()Z

    move-result v1

    invoke-virtual {v0, v1}, Landroid/app/LocalActivityManager;->dispatchPause(Z)V

    .line 79
    invoke-super {p0}, Lcom/instagram/e/b/b;->x()V

    .line 80
    return-void
.end method

.method public y()V
    .locals 3

    .prologue
    .line 105
    invoke-virtual {p0}, Lcom/instagram/android/fragment/el;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/t;

    invoke-virtual {v0}, Lcom/instagram/android/activity/t;->m()Landroid/app/LocalActivityManager;

    move-result-object v0

    const-string v1, "tag"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/app/LocalActivityManager;->destroyActivity(Ljava/lang/String;Z)Landroid/view/Window;

    .line 107
    invoke-super {p0}, Lcom/instagram/e/b/b;->y()V

    .line 108
    return-void
.end method
